package org.x.usermod.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CreateDeptDTO {
    @NotNull(message = "部门名称不能为空")
    private String name;
    @NotEmpty(message = "部门父级ID不能为空")
    private Long parentId;
    private String level;
    //@TODO 数据库没有这个字段
   // private String description;
}
